package com.pengshun.config.oss;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author zhangning
 */
@Configuration
@ConfigurationProperties(prefix = "env.aliyun.sts")
@Setter
@Getter
@Component
public class StsConfig {
	private String product;
	private String endpoint;
	private String regionId;
	private String domain;
	private String accessKeyId;
	private String accessKeySecret;
	private String roleArn;
	private String roleSessionName;
	private StsObjectKey objectKey;
}
